package cn.com.headfree.file.service;

import org.springframework.web.multipart.MultipartFile;

import cn.com.headfree.base.controller.ResultData;
import cn.com.headfree.entity.TCommonFile;
import feign.Response;

public interface ICommonFileService {

	ResultData upload(MultipartFile file, TCommonFile commonFile) throws Exception;

	Response download(String fileId) throws Exception;

	ResultData findFileList(String sysCode, String businessId, String businessNode);

	ResultData deleteFile(String fileId);

	ResultData getFilesByBusinessId(String businessId);

}